package com.sumer.psychology.common.domain.model;

import java.io.Serializable;

/**
 * 教师
 * <p/>
 * User: zhenguang.zhu
 * Date: 2014/11/19
 * Time: 16:37
 */
public class Teacher extends User implements Serializable {
    public Teacher(String identity, String name) {
        super(identity, name);
    }

    public Teacher(String identity, String name, String userName, Integer gender, String phone, String qq, String email) {
        super(identity, name, userName, gender, phone, qq, email);
    }

    @Override
    public Role role() {
        return Role.TEACHER;
    }
}
